package org.arch_learn.spring_cloud.scn_homework.service_user.service;

import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletResponse;

public interface IUserService {
    Boolean register(String email, String password, String code);

    Boolean isRegistered(String email);

    ResponseEntity<String> login(String email, String password,HttpServletResponse httpServletResponse);
}
